import { useIntl } from '@umijs/max';

const Welcome: React.FC = () => {
  const intl = useIntl();
  
  return (
    <div>
      {intl.formatMessage({
        id: 'menu.home',
        defaultMessage: '首页',
      })}
    </div>
  );
}; 